package design.graduation.novelsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import design.graduation.novelsystem.model.domian.CrawlerBook;
import design.graduation.novelsystem.model.dto.DataGridView;
import design.graduation.novelsystem.model.vo.CrawlerBookVo;

/**
 * @author: 洪少尉
 * @Date: 2020/4/17 12:26
 * @Description: 
 */
public interface CrawlerBookService extends IService<CrawlerBook>{

	/**
	 * 用于爬取信息表单
	 * @param crawlerBookVo 查询条件
	 * @return DataGridView
	 */
	DataGridView queryAllCrawlerBook(CrawlerBookVo crawlerBookVo);

	/**
	 * 小说收录
	 * @param id 爬取的小说id
	 * @return boolean
	 */
	boolean includeBook(Integer id);
}
